﻿<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/web.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/jquery-1.7.1.min.js")" type="text/javascript" ></script>
    @*<script src="@Url.Content("~/Scripts/jquery-1.4.4.min.js")" type="text/javascript"></script>*@
    <script src="@Url.Content("~/Scripts/jquery.form.js")" type="text/javascript" ></script>
    <script src="@Url.Content("~/Scripts/MicrosoftAjax.debug.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/MicrosoftMvcAjax.debug.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.unobtrusive-ajax.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/util.js")" type="text/javascript"></script>
    @* <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>*@
    <script src="@Url.Content("~/Scripts/jquery.easyui.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/locale/easyui-lang-zh_CN.js")" type="text/javascript"></script>
    <link href="@Url.Content("~/Content/themes/default/easyui.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/themes/icon.css")" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
        $(function () {
            $(".layout-button-right").parent().parent().css("border-left", "0");
            $(".layout-button-right").hide();
        });
        function TreeLink(url, title) {
            $("#Main").panel({
                title: title
            });
            //$("#SimpleMenu").submit();
            $("#Main").panel('refresh', url + "?r=" + Math.random());
        }
        function MainReload() {
            $("#Main").panel("refresh");
        }
    </script>

</head>
<body class="easyui-layout">
    <div region="north" border="false" style="height: 60px;background: #666666; padding-top:10px; padding-left: 10px;">
        <div style="float: left; ">
            <span style="color: #ffffff; font-size: xx-large;">Technic Blog Manager System</span>
        </div>
        <div style="float: right; padding-top: 30px;">
            <a style="color: #ffffff;" target="_blank" href="http://mvcwork.codeplex.com/">TFS</a>&nbsp;&nbsp;
            <a style="color: #ffffff;" target="_blank" href="https://appharbor.com/applications/technicblog">
                Application TechnicBlog</a>&nbsp;&nbsp; <a style="color: #ffffff;" target="_blank"
                    href="http://technicblog.apphb.com/">Web Application</a>&nbsp;&nbsp;
        </div>
    </div>
    <div region="west" split="true" title="主菜单" style="width: 180px; padding: 10px;">
        <ul id="tt1" class="easyui-tree" animate="true">
            @*<li  state="closed"><span>导航按钮</span>
                <ul>
                    <li><span><a href="javascript:TreeLink('Menu/SimpleMenu','Link Button')">Simple Menu</a></span></li>
                    <li><span><a href="javascript:TreeLink('Menu/LinkButton','Link Button')">Link Button</a></span> </li>
                    <li><span><a href="javascript:TreeLink('Menu/MenuButton','Menu Button')">Menu Button</a></span> </li>
                    <li><span><a href="javascript:TreeLink('Menu/SplitButton','Split Button')">Split Button</a></span> </li>
                </ul>
            </li>
            <li  state="closed"><span>页面布局</span>
                <ul>
                    <li><span><a href="javascript:TreeLink('Panel/Panel','Panel')">Panel</a></span> 
                        <ul>
                            <li><span><a href="javascript:TreeLink('Panel/PanelWithTools','PanelWithTools')">PanelWithTools</a></span></li>
                        </ul>
                    </li>
                    <li><span><a href="javascript:TreeLink('Panel/Tab','Tab')">Tab</a></span> </li>
                </ul>
            </li>
            <li state="closed"><span>窗口</span>
                <ul>
                    <li><span><a href="javascript:TreeLink('Window/BaseWindow','BaseWindow')">BaseWindow</a></span> </li>
                    <li><span><a href="javascript:TreeLink('Window/Dialog','Dialog')">Dialog</a></span> </li>
                    <li><span><a href="javascript:TreeLink('Window/MessageBox','MessageBox')">MessageBox</a></span> </li>
                </ul>
            </li>
            <li state="closed"><span>数据表格</span>
                <ul>
                    <li><span><a href="javascript:TreeLink('DataGrid/Pagination','Pagination')">Pagination</a></span> </li>
                    <li><span><a href="javascript:TreeLink('DataGrid/Selection','Selection')">Selection</a></span> </li>
                    <li><span><a href="javascript:TreeLink('DataGrid/AddSimpleToolbar','AddSimpleToolbar')">AddSimpleToolbar</a></span></li>
                    <li><span><a href="javascript:TreeLink('DataGrid/AddComplexToolbar','AddComplexToolbar')">
                        AddComplexToolbar</a></span></li>
                    <li><span><a href="javascript:TreeLink('DataGrid/FrozenColumns','FrozenColumns')">FrozenColumns</a></span></li>  
                    <li><span><a href="javascript:TreeLink('DataGrid/ChangeColumns','ChangeColumns')">
                        ChangeColumns</a></span></li>
                    <li><span><a href="javascript:TreeLink('DataGrid/FormattingColumns','FormattingColumns')">
                        FormattingColumns</a></span></li>
                    <li><span><a href="javascript:TreeLink('DataGrid/ColumnGroup','ColumnGroup')">
                        ColumnGroup</a></span></li>  
                    <li><span><a href="javascript:TreeLink('DataGrid/CheckBoxSelect','CheckBoxSelect')">CheckBoxSelect</a></span></li> 
                    <li><span><a href="javascript:TreeLink('DataGrid/CustomPaging','CustomPaging')">
                        CustomPaging</a></span></li>
                    <li><span><a href="javascript:TreeLink('DataGrid/ContextMenu','ContextMenu')">
                        ContextMenu</a></span></li>
                </ul>
            </li>
            <li><span>树形结构</span> </li>
            <li>数据表格</li>
            <li>树形表格</li>*@
            <li state="open"><span>用户管理</span>
                <ul>
                    <li><span><a href="javascript:TreeLink('User/Index','用户列表')">用户列表</a></span> </li>
                    <li><span><a href="javascript:TreeLink('User/Create','Create')">新增用户</a></span>
                    </li>
                </ul>
            </li>
            <li state="open"><span>学生管理</span>
                <ul>
                    <li><span><a href="javascript:TreeLink('Student/Index','基本信息管理')">基本信息管理</a></span>
                    </li>
                    <li><span><a href="javascript:TreeLink('Classes/Index','班级管理')">班级管理</a></span>
                    </li>
                </ul>
            </li>
            <li state="open"><span>烟花爆竹管理系统</span>
                <ul>
                    <li><span><a href="javascript:TreeLink('Brand/Index','品牌烟花管理')">品牌烟花管理</a></span>
                    </li>
                    <li><span><a href="javascript:TreeLink('Supplier/Index','供货商管理')">供货商管理</a></span>
                    </li>
                </ul>
            </li>
        </ul>
    </div>
    <div region="east" split="false" title="East" style="width: 120px; padding: 10px;
        border-left: 0;">
        <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"
            width="100" height="100">
            <param name="movie" value="http://www.respectsoft.com/onlineclock/analog.swf">
            <param name="quality" value="high">
            <param name="wmode" value="transparent">
            <embed src="http://www.respectsoft.com/onlineclock/analog.swf" width="100" height="100"
                quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"
                type="application/x-shockwave-flash" wmode="transparent"></embed>
        </object>
    </div>
    <!-- <div region="south" border="false" style="height: 50px; background: #A9FACD; padding: 10px;">
        south region</div>-->
    <div id="Main" region="center" title="Main Title" tools="#tt">
        <!--noheader="true" -->
        @RenderBody()
        <div id="loading" class="easyui-window" resizable="false" title="提示" minimizable="false"
            modal="true" closed="true" dosize="false" collapsible="false" maximizable="false"
            style="width: 150px; height: 70px; padding-top: 10px; text-align: center;">
            <div style="padding-left: 20px; width: 16px; height: 16px; float: left">
                <img src="@Url.Content("~/Content/themes/default/images/panel_loading.gif")" style="vertical-align:middle;" /></div>
            请稍后。。。
        </div>
    </div>
    <div id="tt">
		<a href="#"  class="icon-reload" onclick="javascript:MainReload()"></a>
	</div>
</body>
</html>
